package com.qf.service;

import com.qf.mapper.AirMapper;
import com.qf.pojo.AirPojo;
import com.qf.pojo.DistrictPojo;

import java.util.List;

public interface AirService {
    //查找所有空气信息
    public List<AirPojo> findAll(AirPojo airPojo);
    //增加空气信息
    public void addair(AirPojo airPojo);
    //通过检测区域查询
    public AirPojo selectBydis(int id);
    //通过id更新
    public void updateair(AirPojo airPojo);
    //更具id删除
    public void deleteair(int id);
    //查询所有的区
    public List<DistrictPojo> selectall();
    /*//查询所选的区
    public List<AirPojo> slesctBYdisc(int district_id);*/
}
